@grid-gutter-width: 15px;
@forum-block-bg: #fff;
@text-color: #333;
@important-color: #0ca6f2;
@import "../../../../Public/css/var";
.fmBox {
  background-color: @forum-block-bg;
  margin-bottom: 5px;
  padding: 10px 10px 5px 15px;
  .fmTit {
    font-size: 16px;
    color: #666;
    padding: 0 10px;
  }
}

.noMore {
  text-align: center;
  font-size: 3em;
  color: #999;
}

.fmPage {
  padding: 0;
  display: flex;
  justify-content: center;
  .pager {
    margin: 0;
    padding-top: 10px;
    #navigation {
      margin-bottom: 0;
    }
  }
}

.fmWrap {
  display: flex;
  justify-content: space-between;
  .fmLeft {
    flex: 1;
    .advTop {
      height: 220px;
      width: 100%;
    }
    .invitation {
      list-style: none;
    }
  }
  .fmRight {
    width: 300px;
    margin-left: 20px;
  }
}

.fmNum {
  display: flex;
  span {
    padding: 0 30px;
    border-right: 1px dashed #ddd;
    color: #999;
    b {
      color: #666;
    }
    a {
      color: @primary-color;
    }
    &:last-of-type {
      border: none;
    }
  }
}

//帖子列表样式
.fmList {
  display: flex;
  border-bottom: 1px #e5e5e5 solid;
  //height: 160px;
  .cover {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
  }
  .fmInfo {
    flex: 1;
    padding-bottom: 15px;
    h3 {
      margin: 0;
      padding-top: 5px;
      font-weight: 600;
      color: #444444;
      font-size: 16px;
      font-weight: normal;
    }
    .author {
      display: flex;
      align-items: center;
      padding: 10px 0;
      position: relative;
      color: #999;
      font-size: 14px;
      .fmAvt {
        width: 30px;
        height: 30px;
        border-radius: 100%;
        overflow: hidden;
      }
      .name {
        padding: 0 10px 0 0;
        color: @important-color;
        max-width: 8em !important;
      }
      .form-model {
        color: @important-color;
      }
      .pull-right {
        position: absolute;
        right: 5%;
      }
    }
    .cont {
      /*overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;*/
      color: #666;
    }
    .last {
      display: flex;
      justify-content: space-between;
      color: #999;
      font-size: 13px;
      .readAll {
        color: @primary-color;
      }
    }
  }
}

//首页右侧栏样式
.fmCard {
  padding: 20px 0 0;
  .rtAvt {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, .05);
    margin: 10px auto 10px;
  }
  p {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
  }
  .myNum {
    background-color: #f7f7f7;
    display: flex;
    padding: 10px 0;
    border-top: 1px solid #E5E5E5;
    .one {
      flex: 1;
      text-align: center;
      &:first-child{
        border-right: 1px solid #e6e6e6;
      }
      span {
        color: #acbbc6;
        display: block;
        font-size: 12px;
      }
      b {
        font-size: 16px;
        color: #34495e;
      }
      //&:first-child{
      //  border-right: 1px solid #eff3f5;
      //}
    }
  }
}

.fmSend {
  text-align: center;
  padding: 0;
  margin: 0;
  .sendBtn {
    display: inline-block;
    background-color: @important-color;
    color: #fff;
    text-align: center;
    line-height: 60px;
    width: 100%;
    font-size: 22px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    &:hover {
      background-color: transparent;
      color: @important-color;
    }
  }
  .antBtn {
    margin-top: 15px;
    background-color: transparent;
    color: @important-color;
  }
}

.fmPlate {
  padding: 10px 0 10px;
  .plate {
    display: flex;
    flex-wrap: wrap;
    .recommend-box{
      margin-top: 20px;
      img{
        float: left;
        width: 64px;
        height: 64px;
      }
      .right-box{
        float: left;
        margin-left: 10px;
        a{
          display: block;
          margin-bottom: 3px;
          color: #333;
        }
        p{
          width: 150px;
          margin-bottom: 0;
          overflow: hidden;
          text-overflow:ellipsis;
          white-space: nowrap;
          span{
            color: #999;
          }
        }
        .description{
          margin-top: 3px;
          color: #999;
        }
      }
    }
  }
  .toAll {
    display: block;
    padding: 10px 0;
    text-align: center;
    background-color: #f8f8f8;
    color: #acbbc6;
    &:hover {
      color: @primary-color;
    }
  }
}

.hotList {
  padding: 10px 0 0 20px;
  .fmTit {
    /*border-bottom: 1px solid #ededed;
    padding-bottom: 10px;
    margin: 0;*/
  }
  ul {
    padding: 10px 0;
    margin: 0;
    li {
      list-style: none;
      a {
        max-width: 280px;
        padding: 0 10px;
        line-height: 30px;
        color: #666;
        &:hover {
          color: @primary-color;
          transform: translateX(10px);
        }
      }
    }
  }
  .suggestion-box{
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    &:last-child{
      border-bottom: none;
    }
    .suggestion-title{
      color: #666;
      font-size: 16px;
    }
    .suggestion-text{
      color: #999;
      span{
        float: right;
      }
    }
  }
}

.user {
  display: flex;
  flex-wrap: wrap;
  .actWrap {
    display: inline-block;
    padding: 10px;
    width: 100px;
    .text-ellipsis-2 {
      margin-top: 10px;
      width: 100%;
      padding: 0 10%;
      text-align: center;
    }
    a {
      display: block;
      width: 80px;
      height: 80px;
      border-radius: 100%;
      overflow: hidden;
    }
  }
}

//全部板块样式
.fmBlock {
  padding: 0;
  .bkTit {
    padding: 10px;
    font-size: 16px;
    border-bottom: 1px solid #ededed;
    margin: 0;
    background-color: #fdfdfd;
    .btn-primary-forum{
      width: 96px;
      height: 32px;
      margin-right: 20px;
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 4px;
      color: #333;
      font-size: 14px;
    }
  }
  .bkWrap {
    padding: 30px 12px;
    display: flex;
    flex-wrap: wrap;
    .block {
      width: 372px;
      height: 122px;
      border-radius: 3px;
      .filter;
      border: 1px solid transparent;
      display: flex;
      justify-content: center;
      align-items: center;
      &:hover {
        background-color: #fbfbfb;
        border-color: #ededed;
        .bkName {
          color: @primary-color !important;
        }
      }
      .bkCover {
        width: 80px;
        height: 80px;
        overflow: hidden;
        border-radius: 10px;
        margin-right: 10px;
      }
      .bkInfo {
        .bkName {
          font-size: 20px;
          line-height: 22px;
          color: #4d4d4d;
          .filter;
          margin: 0;
        }
        .desc {
          line-height: 15px;
          color: #999;
          margin: 7px 0 0;
          width: 200px;
          max-width: 200px;
        }
        .num {
          line-height: 15px;
          color: #999;
          margin: 7px 0 0;
        }
      }
    }
  }
}

.filter {
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}

//版块内样式
//顶部板块信息样式
.coverHeader {
  width: 100%;
  //height: 190px;
  position: relative;
  overflow: hidden;
  .cover {
    width: 100%;
    height: 170px;
  }
  .summary {
    position: absolute;
    height: 30px;
    background-color: rgba(0, 0, 0, .4);
    bottom: 40px;
    left: 90px;
    width: 100%;
    padding: 0 10px;
    color: rgba(255, 255, 255, .8);
    line-height: 30px;
    text-shadow: 0 0 2px rgba(0, 0, 0, .4);
  }
  .hdInfo {
    height: 80px;
    padding-left: 200px;
    //line-height: 40px;
    padding-top: 10px;
    .name {
      font-size: 20px;
      font-weight: 600;
      color: #333;
    }
    sub {
      color: #999;
      span:nth-child(2) {
        padding: 0 10px;
      }
    }
    .follow-btn{
      float: right;
      margin-right: 30px;
      width: 74px;
      height: 30px;
      line-height: 30px;
      border-radius: 5px;
      background-color: #f04e4f;
      color: #fff;
      font-size: 16px;
      text-align: center;
    }
    .follow-btn-grey{
      float: right;
      margin-right: 30px;
      width: 74px;
      height: 30px;
      line-height: 30px;
      border-radius: 5px;
      background-color: #e5e5e5;
      color: #fff;
      font-size: 16px;
      text-align: center;
    }
  }
  .hdLogo {
    width: 150px;
    height: 150px;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    position: absolute;
    //box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    border: 1px solid #ccc;
    left: 30px;
    bottom: 10px;
  }
}

.inList {
  .noMore {
    padding: 20px 0;
  }
  .listOne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    .filter;
    &:hover {
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
      -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
      .oneTit {
        color: @primary-color !important;
      }
    }
    .left {
      display: flex;
      align-items: center;
      .oneAvt {
        width: 45px;
        height: 45px;
        border-radius: 100%;
        overflow: hidden;
        display: block;
        margin-right: 10px;
      }
      .oneInfo {
        padding-top: 3px;
        .oneTit {
          color: #4d4d4d;
          font-size: 15px;
          &:hover {
            color: @primary-color;
          }
        }
        .oneMore {
          margin: 0;
          font-size: 13px;
          color: #999;
          span {
            margin-right: 15px;
          }
          i {
            font-size: 14px;
            margin-right: 5px;
          }
          a {
            color: #999;
            &:hover {
              color: @primary-color;
            }
          }
        }
      }
    }
    .time {
      color: #999;
    }
  }
}

a[ucard] {
  color: @important-color;
}

.bkFlex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.noFocus {
  text-align: center;
  padding: 10px 0;
  color: #666;
  width: 100%;
}

//帖子详情样式
.dtWrap {
  display: flex;
  position: relative;
  flex-direction: column;
  padding: 0px 50px;
  .people {
    margin: 30px 60px 0px 15px;
    //display: flex;
    //width: 300;px
    .avt {
      width: 60px;
      height: 60px;
      border-radius: 100%;
      overflow: hidden;
      float: left;
      margin-right: 10px;
      //margin: 20px auto 10px;
    }
    .avatar-left {
      margin-left: 15px;
    }
    .tit {
      font-weight: 600;
      font-size: 20px;
      color: #454545;
      margin-bottom: 0;
    }
    .text-center {
      display: inline-flex;
      .text-ellipsis {
        font-size: 14px;
        max-width: 7em;
        color: @important-color;
      }
    }
    .fmNumber {
      position: absolute;
      align-items: center;
      right: 60px;
      .lab {
        display: inline-block;
        background-color: @primary-color;
        color: #fff;
        padding: 3px 8px;
        font-size: 12px;
        border-radius: 2px;
      }
    }
  }
  .forum {
    flex: 1;
    padding: 10px 20px;
    .popup-gallery {
      padding: 0px 60px;
    }
    .fmInfo {
      border-bottom: 1px solid #ededed;
    }
    .reply-content {
      border-top: dashed 1px #E5E5E5;
    }
    .fmNumber {
      padding-bottom: 15px;
      display: flex;
      position: relative;
      justify-content: space-between;
      align-items: center;
      a, span {
        color: #999;
      }
      a {
        padding: 0 15px;
        border-right: 1px solid #ededed;
        &.border {
          color: @important-color;
        }
        &:last-of-type {
          border: none;
        }
      }
      .lab {
        display: inline-block;
        background-color: @primary-color;
        color: #fff;
        padding: 3px 8px;
        font-size: 12px;
        border-radius: 2px;
      }
    }
    .text-muted {
      text-align: right;
      margin: 30px auto;
      padding-right: 10%;
      font-size: 14px;
      color: #999999;
    }
    .forum-lzl {
      padding-left: 120px;
    }
  }
}

.inLink {
  margin: 10px 0;
  color: #999;
  a {
    color: #999;
  }
  i {
    padding: 0 5px;
  }
}

.share {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  p {
    margin: 0px;
  }
}

.rpList {
  .forum {
    .fmNumber {
      padding-top: 0;
      border-bottom: 1px solid #ededed;
    }
    .fmOpt {
      margin-bottom: 10px;
      a {
        color: #999;
        padding: 0 8px;
      }
    }
  }
}

.sedBox {
  .tips {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    a {
      color: @primary-color;
      padding: 0 5px;
    }
  }
}

.look {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ededed;
}

.forum_left_operation {
  position: absolute;
  right: -46px;
  background-color: #fff;
  .edBtn {
    display: block;
    padding: 15px;
    color: #999;
    .filter;
    &:hover {
      background-color: @primary-color;
      color: #fff;
    }
  }
}

.sendBox {
  width: 900px;
  margin: 0 auto;
}

.sendTit {
  border-bottom: 1px solid #ededed;
  padding-bottom: 10px;
  font-size: 16px;
  sub {
    color: #999;
    margin-left: 15px;
  }
}

//二级导航样式
#sub_nav {
  background-color: #f3f6f8;
  box-shadow: 0 4px 4px -3px #d1d1d1;
  .active {
    border-bottom: 2px solid @primary-color;
    a {
      color: @primary-color;
    }
  }
}

.sedNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shWrap {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid @primary-color;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1) inset;
  input {
    border: none;
    outline: none;
    background-color: transparent;
    height: 30px;
    width: 250px;
  }
  a {
    padding-left: 10px;
  }
}

